package com.test.enity;

public class Employee {

	private int id;
	private String name;
	private String sex;
	private int age;
	private String dapartment;
	private String type;
	private int year;
	
	public Employee() {
		
	}

	public Employee(String name, String sex, int age, String dapartment, String type, int year) {
	
		this.name = name;
		this.sex = sex;
		this.age = age;
		this.dapartment = dapartment;
		this.type = type;
		this.year = year;
	}

	
	public Employee(int id, String name, String sex, int age, String dapartment, String type, int year) {
		
		this.id = id;
		this.name = name;
		this.sex = sex;
		this.age = age;
		this.dapartment = dapartment;
		this.type = type;
		this.year = year;
	}



	public int getId() {
		return id;
	}



	public void setId(int id) {
		this.id = id;
	}



	public String getName() {
		return name;
	}



	public void setName(String name) {
		this.name = name;
	}



	public String getSex() {
		return sex;
	}



	public void setSex(String sex) {
		this.sex = sex;
	}



	public int getAge() {
		return age;
	}



	public void setAge(int age) {
		this.age = age;
	}



	public String getDapartment() {
		return dapartment;
	}



	public void setDapartment(String dapartment) {
		this.dapartment = dapartment;
	}



	public String getType() {
		return type;
	}



	public void setType(String type) {
		this.type = type;
	}



	public int getYear() {
		return year;
	}



	public void setYear(int year) {
		this.year = year;
	}



	@Override
	public String toString() {
		// TODO Auto-generated method stub
		return this.getId()+"---"+this.getName()+"---"+this.getSex()+"---"+this.getAge()+"---"+this.getDapartment()+"---"+this.getType()+"---"+this.getYear();
	}
}
